using System;
using System.Collections.Generic;

namespace DAL.factories
{
    public class ManagerFactory<F,T> where T:F, new()
    {

        #region fields
        

        #endregion


        #region Properties

        #endregion

        /// <summary>
        /// Initializes a new instance of the <see cref="FactorySupplier"/> class.
        /// </summary>
        public ManagerFactory()
        {
        }

        /// <summary>
        /// Gets the manager for this factory type.
        /// </summary>
        /// <returns></returns>
        public static F GetManager()
        {
            return new T();
        }
    }
}
